package com.langshixiaobai.mqdemo.server.core;

//Exchange 类型
public enum  ExchangeType {

    DIRECT(0),
    FANOUT(1),
    TOPIC(2) ;

    private final Integer type;
    private ExchangeType(Integer type){
        this.type = type;
    }

    public Integer getType() {
        return this.type;
    }
}
